/*==========  基础样式 如：网站背景色、字体大小、主宽度、按钮、表单等公共变量及样式模板  ==========*/

/*基础配色*/
$bgColor: #fff; // 主要背景色
$ftColor: #333333; // 主要字体颜色
$notifyColor: red; // 提示颜色
$btnBgColor: #2954A4; // 按钮背景色
$btnColor: #fff; // 按钮字体色
$borderColor: #D6D6D6; // 边框颜色


/*字体*/
$baseFontSize: 12px; // 基础字体大小
$baseFontSize1: 16px; // 中
$baseFontSize2: 18px; // 大

$btnFontSize: 18px; // 按钮字体大小
$titleFontSize: 20px; // 标题字体大小


//* CSS3圆角边框 */
$btnRadius: 5px;


/*==========  Mixins  ==========*/
///清除浮动
@mixin clearfix {
	@if $legacy-support-for-ie {
	    *zoom: 1;
	}
	&:before,
	&:after {
	    content: "";
	    display: table;
	}
	&:after {
	    clear: both;
	    overflow: hidden;
	}
}

///元素背景
@mixin background-mix($url) {
	background: url($url) no-repeat center;
}

///按钮
@mixin btn-mix($height,$width,$btnRadius:$btnRadius) {
	height: $height;
	width: $width;
	border: none;
	border: 0;
    text-align: center;
	color: $btnColor;
	font-size: 16px;
	font-weight: bolder;
	@include border-radius($btnRadius);
	background-color: #{$btnBgColor};
}

///input
@mixin input-mix($height,$width,$btnRadius:$btnRadius) {
	height: $height;
	width: $width;
	border: none;
	border: 0;
    text-indent: 1em;
	color: $ftColor;
	border: 1px solid #BBC2C4;
	@include border-radius($btnRadius);
	///解决select inoput在ipone上宽度不一致问题
	margin: 0;
	padding: 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

///select
@mixin select-mix($height,$width,$btnRadius:$btnRadius) {
	height: $height;
	width: $width;
	border: none;
	border: 0;
	text-align: center;
	color: $ftColor;
	border: 1px solid #BBC2C4;
	@include border-radius($btnRadius);
	///解决select inoput在ipone上宽度不一致问题
	margin: 0;
	padding: 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

///checkbox
@mixin checkbox-mix($marginLeft) {
	// margin-left: $marginLeft;
}

///表单提交错误提示
.error {
    color: $notifyColor;
    margin-top: 4px;
    display: inline-block;
    font-size: 12px;
   // text-indent: 1em;
}
